require("lib/sun")

function love.load()
	sun = Sun.new(200, 200)
	planet = love.graphics.newImage( "img/planet_small.png" )
end

function love.mousepressed(x, y, button)
end

function love.focus(f) 
	gameIsPaused = not f 
end

function love.update(dt)
	--if gameIsPaused then return end
	sun:update(dt)
end

function love.draw()
	sun:draw()
	love.graphics.draw(planet, 600, 50)
	love.graphics.draw(planet, 600, 250)
	love.graphics.draw(planet, 800, 50)
	love.graphics.draw(planet, 800, 250)
	love.graphics.print("FPS: " .. love.timer.getFPS(), 960, 10)
	--love.graphics.print(, 10, 10)
end